package com.zlm.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zlm.common.base.BaseEntity;

import java.util.Date;

/**
 * 员工附件表
 * @Author: duyufu
 * @Date: 2019/6/25 11:55
 */
public class SysEmpAttDO extends BaseEntity {

    private static final long serialVersionUID = 927730877158024068L;

    private Integer attId;

    private Integer empId;

    private Integer attType;

    private String attUrl;

    private String attName;

    private Integer alive;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;

    public Integer getAttId() {
        return attId;
    }

    public void setAttId(Integer attId) {
        this.attId = attId;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public Integer getAttType() {
        return attType;
    }

    public void setAttType(Integer attType) {
        this.attType = attType;
    }

    public String getAttUrl() {
        return attUrl;
    }

    public void setAttUrl(String attUrl) {
        this.attUrl = attUrl;
    }

    public String getAttName() {
        return attName;
    }

    public void setAttName(String attName) {
        this.attName = attName;
    }

    public Integer getAlive() {
        return alive;
    }

    public void setAlive(Integer alive) {
        this.alive = alive;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "SysEmpAttDO{" +
                "attId=" + attId +
                ", empId=" + empId +
                ", attType=" + attType +
                ", attUrl='" + attUrl + '\'' +
                ", attName='" + attName + '\'' +
                ", alive=" + alive +
                ", createTime=" + createTime +
                '}';
    }
}
